package com.mediacloud.app.newsmodule.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
 * 音频背景播放后处理的广播
 * @author x
 *
 */
public class AudioBackgroundBroad extends BroadcastReceiver
{
	public static final String ShowAction="ShowAction";
	public static final String HideAction="HideAction";
	public AudioBackgroudHandle handle;
	
	public AudioBackgroundBroad()
	{
	}

	@Override
	public void onReceive(Context context, Intent intent)
	{
		if(handle!=null)
			handle.handleAudioAction(intent);
	}
	
	public interface AudioBackgroudHandle
	{
		void handleAudioAction(Intent intent);
	}

}